package com.cpit.qualitycontrol.common.enums;

/**
 * Created by xxx on 2017/9/30.
 */
public enum SubTaskProcessStatusEnum {
    UNTREATED(0, "未处理"),
    CONSTRUCTEND(1, "处理完成"),
    UNCHECK(2, "未审核"),
    CHECKREJECT(3, "审核驳回"),
    UNDERCORRECT(4, "待整改"),
    CORRECTEND(5, "整改完成"),
    CHECKADOPT(6, "审核通过"),
    END(7, "已完成");

    private Integer code;

    private String message;

    SubTaskProcessStatusEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
